package com.kws.system.domain.payment;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <b>TbAddressData</b>
 *
 * @description: TbAddressData <br>
 * @date: 2024/12/11 15:55 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class TbAddressData implements Serializable {
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "标识")
    private String code;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "类型：0-省，1-市，2-区，3-行业数据")
    private String type;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", code").append(code);
        sb.append(", name=").append(name);
        sb.append(", type").append(type);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
